package com.example.mvvmrxjavaokhttpretrofit.constants;

public class HttpResponseCode {

    /**
     * 执行成功
     */
    public static final int SUCCESS = 1;
    public static final int NODATAS = 0;

    /**
     * //执行失败
     */
    //用户未登录
    public static final int USER_UNLOGIN = -2;
    //用户在在其他设备登录
    public static final int LOGIN_AT_ANORTHER1 = -37;
    //用户在其他设备登录
    public static final int LOGIN_AT_ANORTHER2 = -64;
    //token失效
    public static final int TOKEN_DISABLED = -48;
    //服务器不可用
    public static final int SERVER_UNAVAILABLE = -6;

    //登录接口判断到用户更换手机设备，会提示用户是否确定在该设备登录
    public static final int CONFIRMLOGIN = 130;
    //账号被锁定,无法登录
    public static final int ACCOUNT_LOCKED = 129;
}
